Component({
    properties: {
        data: Array
    },
    data: {
        list: []
    },
    attached() {
        let data = this.properties.data;
        this.setData({
            list: data
        })
    },
    methods: {
        //事件处理函数
        selectTalk (option) {
            wx.navigateTo({
                url: '/pages/onlyPlay/index?id=' + option.currentTarget.dataset.id
            })
        },
    }
})